import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'

// https://vitejs.dev/config/
export default defineConfig({
  base: './',
  plugins: [react()],
  define: {
    'process.env': {
      REACT_APP_BASE_URL: 'http://api.90000p.com/estate/api/',
      REACT_APP_IMG_URL: 'http://api.90000p.com/estate/upload/',
      REACT_APP_UP_IMG_URL: 'http://api.90000p.com/estate/api/upload/add',
    },
  },
})
